home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / uscript.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  6KB  |  161 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <MODE>
  6.     <PROPS>
  7.         <PROPERTY NAME="commentStart" VALUE="/*" />
  8.         <PROPERTY NAME="commentEnd" VALUE="*/" />
  9.         <PROPERTY NAME="lineComment" VALUE="//" />
  10.         <PROPERTY NAME="wordBreakChars" VALUE=",+-=<>/?^&*" />
  11.  
  12.         <!-- Auto indent -->
  13.         <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  14.         <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
  15.         <PROPERTY NAME="indentNextLine"
  16.             VALUE="\s*(((if|while)\s*\(|else\s*|else\s+if\s*\(|for\s*\(.*\))[^{;]*)" />
  17.         <!-- set this to 'true' if you want to use GNU coding style -->
  18.         <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
  19.     </PROPS>
  20.     <RULES IGNORE_CASE="TRUE"
  21.         HIGHLIGHT_DIGITS="TRUE"
  22.         DIGIT_RE="(0x[\p{XDigit}]+[lL]?|[\p{Digit}]+(e[\p{Digit}]*)?[lLdDfF]?)">
  23.  
  24.         <!-- Silly comment -->
  25.         <SEQ TYPE="COMMENT1">/**/</SEQ>
  26.  
  27.         <!-- Java comment (C style) -->
  28.         <SPAN TYPE="COMMENT1">
  29.             <BEGIN>/*</BEGIN>
  30.             <END>*/</END>
  31.         </SPAN>
  32.  
  33.         <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  34.             <BEGIN>"</BEGIN>
  35.             <END>"</END>
  36.         </SPAN>
  37.         <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
  38.             <BEGIN>'</BEGIN>
  39.             <END>'</END>
  40.         </SPAN>
  41.  
  42.         <EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
  43.  
  44.         <SEQ TYPE="OPERATOR">~</SEQ>
  45.         <SEQ TYPE="OPERATOR">!</SEQ>
  46.         <SEQ TYPE="OPERATOR">@</SEQ>
  47.         <SEQ TYPE="OPERATOR">#</SEQ>
  48.         <SEQ TYPE="OPERATOR">$</SEQ>
  49.         <SEQ TYPE="OPERATOR">^</SEQ>
  50.         <SEQ TYPE="OPERATOR">&</SEQ>
  51.         <SEQ TYPE="OPERATOR">*</SEQ>
  52.         <SEQ TYPE="OPERATOR">-</SEQ>
  53.         <SEQ TYPE="OPERATOR">=</SEQ>
  54.         <SEQ TYPE="OPERATOR">+</SEQ>
  55.         <SEQ TYPE="OPERATOR">|</SEQ>
  56.         <SEQ TYPE="OPERATOR">\\</SEQ>
  57.         <SEQ TYPE="OPERATOR">:</SEQ>
  58.         <SEQ TYPE="OPERATOR"><</SEQ>
  59.         <SEQ TYPE="OPERATOR">></SEQ>
  60.         <SEQ TYPE="OPERATOR">/</SEQ>
  61.         <SEQ TYPE="OPERATOR">?</SEQ>
  62.         <SEQ TYPE="OPERATOR">`</SEQ>
  63.  
  64.         <MARK_PREVIOUS TYPE="LABEL" MATCH_TYPE="OPERATOR"
  65.             AT_WHITESPACE_END="TRUE">:</MARK_PREVIOUS>
  66.  
  67.         <!-- Function calls -->
  68.         <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
  69.         <SEQ TYPE="OPERATOR">)</SEQ>
  70.  
  71.         <KEYWORDS>
  72.             <KEYWORD1>abstract</KEYWORD1>
  73.             <KEYWORD1>auto</KEYWORD1>
  74.             <KEYWORD1>array</KEYWORD1>
  75.             <KEYWORD1>case</KEYWORD1>
  76.             <KEYWORD1>class</KEYWORD1>
  77.             <KEYWORD1>coerce</KEYWORD1>
  78.             <KEYWORD1>collapscategories</KEYWORD1>
  79.             <KEYWORD1>config</KEYWORD1>
  80.             <KEYWORD1>const</KEYWORD1>
  81.             <KEYWORD1>default</KEYWORD1>
  82.             <KEYWORD1>defaultproperties</KEYWORD1>
  83.             <KEYWORD1>deprecated</KEYWORD1>
  84.             <KEYWORD1>do</KEYWORD1>
  85.             <KEYWORD1>dontcollapsecategories</KEYWORD1>
  86.             <KEYWORD1>edfindable</KEYWORD1>
  87.             <KEYWORD1>editconst</KEYWORD1>
  88.             <KEYWORD1>editinline</KEYWORD1>
  89.             <KEYWORD1>editinlinenew</KEYWORD1>
  90.             <KEYWORD1>else</KEYWORD1>
  91.             <KEYWORD1>enum</KEYWORD1>
  92.             <KEYWORD1>event</KEYWORD1>
  93.             <KEYWORD1>exec</KEYWORD1>
  94.             <KEYWORD1>export</KEYWORD1>
  95.             <KEYWORD1>exportstructs</KEYWORD1>
  96.             <KEYWORD1>extends</KEYWORD1>
  97.             <KEYWORD1>false</KEYWORD1>
  98.             <KEYWORD1>final</KEYWORD1>
  99.             <KEYWORD1>for</KEYWORD1>
  100.             <KEYWORD1>foreach</KEYWORD1>
  101.             <KEYWORD1>function</KEYWORD1>
  102.             <KEYWORD1>globalconfig</KEYWORD1>
  103.             <KEYWORD1>hidecategories</KEYWORD1>
  104.             <KEYWORD1>if</KEYWORD1>
  105.             <KEYWORD1>ignores</KEYWORD1>
  106.             <KEYWORD1>input</KEYWORD1>
  107.             <KEYWORD1>iterator</KEYWORD1>
  108.             <KEYWORD1>latent</KEYWORD1>
  109.             <KEYWORD1>local</KEYWORD1>
  110.             <KEYWORD1>localized</KEYWORD1>
  111.             <KEYWORD1>native</KEYWORD1>
  112.             <KEYWORD1>nativereplication</KEYWORD1>
  113.             <KEYWORD1>noexport</KEYWORD1>
  114.             <KEYWORD1>noteditinlinenew</KEYWORD1>
  115.             <KEYWORD1>notplaceable</KEYWORD1>
  116.             <KEYWORD1>operator</KEYWORD1>
  117.             <KEYWORD1>optional</KEYWORD1>
  118.             <KEYWORD1>out</KEYWORD1>
  119.             <KEYWORD1>perobjectconfig</KEYWORD1>
  120.             <KEYWORD1>placeable</KEYWORD1>
  121.             <KEYWORD1>postoperator</KEYWORD1>
  122.             <KEYWORD1>preoperator</KEYWORD1>
  123.             <KEYWORD1>private</KEYWORD1>
  124.             <KEYWORD1>protected</KEYWORD1>
  125.             <KEYWORD1>reliable</KEYWORD1>
  126.             <KEYWORD1>replication</KEYWORD1>
  127.             <KEYWORD1>return</KEYWORD1>
  128.             <KEYWORD1>safereplace</KEYWORD1>
  129.             <KEYWORD1>showcategories</KEYWORD1>
  130.             <KEYWORD1>simulated</KEYWORD1>
  131.             <KEYWORD1>singular</KEYWORD1>
  132.             <KEYWORD1>state</KEYWORD1>
  133.             <KEYWORD1>static</KEYWORD1>
  134.             <KEYWORD1>struct</KEYWORD1>
  135.             <KEYWORD1>switch</KEYWORD1>
  136.             <KEYWORD1>transient</KEYWORD1>
  137.             <KEYWORD1>travel</KEYWORD1>
  138.             <KEYWORD1>true</KEYWORD1>
  139.             <KEYWORD1>unreliable</KEYWORD1>
  140.             <KEYWORD1>until</KEYWORD1>
  141.             <KEYWORD1>var</KEYWORD1>
  142.             <KEYWORD1>while</KEYWORD1>
  143.             <KEYWORD1>within</KEYWORD1>
  144.  
  145.             <KEYWORD2>default</KEYWORD2>
  146.             <KEYWORD2>global</KEYWORD2>
  147.             <KEYWORD2>none</KEYWORD2>
  148.             <KEYWORD2>self</KEYWORD2>
  149.             <KEYWORD2>static</KEYWORD2>
  150.             <KEYWORD2>super</KEYWORD2>
  151.  
  152.             <KEYWORD3>bool</KEYWORD3>
  153.             <KEYWORD3>byte</KEYWORD3>
  154.             <KEYWORD3>float</KEYWORD3>
  155.             <KEYWORD3>int</KEYWORD3>
  156.             <KEYWORD3>name</KEYWORD3>
  157.             <KEYWORD3>string</KEYWORD3>
  158.         </KEYWORDS>
  159.     </RULES>
  160. </MODE>
  161.